namespace ARTestModel.Model
{
    using System.Collections.Generic;
    using Castle.ActiveRecord;

    [ActiveRecord]
    public class Product
    {
        public Product()
        {
            OrderItems = new List<OrderItem>();
        }

        [PrimaryKey]
        public int Id { get; set; }

        [HasMany]
        public IList<OrderItem> OrderItems { get; set; }
    }
}